package com.dongdongshop.em;

public enum ConstantEnum {

    SUCCESS(10000,"操作成功"),
    REGISTER_SUCCESS(11000,"账户待审核"),
    REGISTER_ERROR(20000,"账户未注册"),
    LOGIN_SUCCESS(11001,"登录成功"),
    PWD_ERROR(20001,"密码错误"),
    ERROR(10001,"操作失败"),
    ARCS_NULL(10008,"参数为空"),
    SUCCESS_FULLY(12001,"注册成功"),
    SUCCESS_FAIL(22001,"注册失败"),
    VERIFICATION_CODE(22002,"请输入验证码"),
    VERIFICATION_CODE_ERROR(22003,"验证码不正确"),
    NOT_LOG(22004,"用户未登录");

    private Integer code;
    private String message;

    ConstantEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    ConstantEnum() {
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
